Please wait, submitting... Changed your mind? Decided not to comment right now? Return to Find Maltese Puppies on Craigslist. Join in and write your own page! It's easy to do. How? Simply click here to return toCheap or Free Maltese Puppies. ...
for i in $(find . -mtime +30); do mv $i old/; done - (Move files older than 30 days in current folder to \"old\" folder Will move in that case every file in the current folder older than 30 days to the \"old\" folder Replace \"mv $i old/\" by any command
Put this one-line function somewhere in your shell init, re-login and trywhatinstalled Sample Output You need to drop the '&' from '2&> /dev/null' for STDERR to get redirected to /dev/null or change it to '2>&-' to close STDERR....
so you could write:... xargs du -k | awk '{t+=$1} END {print t}'Further, the job that xargs is doing can be done by find here using the multiple-args-per-invocation -exec option:find $DIR -type f -name "*txt*" -exec du -k {} + | awk '{t+=$1} END {print...
As long as you know that it doesn't always work :)cat /etc/*-releasezsh: no matches found: /etc/*-release What's better is using lsb_release if you have it.lsb_release --allNo LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 5.0 (lenny) Release: 5.0...