Re: Modified Date Problem - How to change modified date of many files?



"Dave Uhring" <daveuhring@xxxxxxxxx> wrote in message
news:pan.2007.06.26.03.02.34.634559@xxxxxxxxxxxx
On Mon, 25 Jun 2007 15:35:56 -0700, ISOHaven wrote:

sh-2.04# find / -type f -mtime +7305 -print0 | xargs --null touch -m
sh: xargs: command not found

xargs should have been included with the rest of the GNU fileutils, but
since it's not:

# find / -type f -mtime +7305 -exec touch -m {} \;


I typed this in and hit enter then the cursor went to the next line (blank)
and is just sitting there. Would it be doing something? I no longer have a
prompt.


.



Relevant Pages

  • Re: Command line to remove duplicate files?
    ... Ohmster wrote: ... what xargs does? ... So what xargs does is pretty much pass on large numbers to the command ... Put "messageforohmster" in message body ...
    (alt.os.linux)
  • Re: Pipe output from find to mv
    ... I would suggest you to go with gnu xargs instead of -exec ... At first glance, the find command above was rather complicated, not to ... though- GNU find and everyone else's. ... we must use another command to sort such output-a ...
    (comp.unix.shell)
  • Re: Neophyte: ls with wildcards
    ... There's two ways to provide data for a command -- either as a command ... What xargs does is it reads data from standard input and then looks ... would lead to xargs eventually executing "ls /bin". ... to argument lists ...
    (comp.unix.shell)
  • Re: find -exec surprisingly slow
    ... deleting files from a directory which has 400K filenames in it, ... mv usermail usermail.bigspam ... The thing to use is the '-J' option of xargs. ... a single `mv' command as possible. ...
    (freebsd-questions)
  • How to use xargs with a shell redirect
    ... command with redirects in it? ... like a perfect opportunity for the shell (BASH shell, ... to do this with xargs... ...
    (comp.unix.shell)