We'll send a magic link to your inbox. Email Address. All Sign in options. Enter a Email Address. Choose your interests Get the latest news, expert insights and market research, sent straight to your inbox. Newsletter Topics Select minimum 1 topic.
Data Management. Tags: Informatica. Puspanjali November 8, 0 Comments. Below command list all Oct files and writes the output to a. Improve this answer. Rahul Rahul Note that -newrct and -ctime have nothing to do with creation time. They're for change time. You can't pass the output of ls -l to xargs like that, that doesn't make any sense. Costas Costas How is that pure bash? Note that it implies the GNU implementation of date. See zsh or ksh93 for shells that can do it with only builtins though I wouldn't see the point here.
Have edited. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Registered User. Join Date: Apr Guys, I am wondering how to remove files for a specific date in a directory?
And i want to delete files for date May Code :. Join Date: Feb Not the file name. I am looking for the Unix file time and date. Join Date: Jul One way: Code :. Thanks agama. Any simpler way to do? Maybe, but more room for error: Code :. Join Date: Mar Code :. Last edited by eosbuddy; at AM.. Shell Programming and Scripting. Delete all files if another files in the same directory has a matching occurrence of a specific word. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Asked 3 years, 4 months ago. Active 3 years, 4 months ago. Viewed 6k times. Improve this question.
0コメント