Archive for November, 2010

Nov 24 2010

modzip.sh – modify the content of a zip file

Published by under linux und OSS

Sometimes you need to modify the content of a zip file in the command line because the server doesn't have a X server and you have no access to the file system remotely. What this script does: modify text files inside a zip file with vi (or any other editor you like) modify the content [...]

No responses yet

Nov 05 2010

find with -exec: files older than x day

Published by under linux und OSS

You can easily move files of a certain age to a different location (for example backup tape or network share) In this example you will search for files only (-type f) which are older than 30 days (-mtime +30) and execute the move command for each file returned. This list of files is represented by [...]

Comments Off