View previous topic :: View next topic |
Author |
Message |
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Thu Jun 02, 2005 7:18 pm Post subject: Help deleting some stuff again sorry |
|
|
Hi guys its me again, but now i have another problem i have a .tar file and its full of emails what would be the command to un tar it then delete all of the files from a surtain date up? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Jun 02, 2005 10:28 pm Post subject: |
|
|
Code: | tar xvf <your-file> |
would unpack the contents in the current directory.
You can then select files up to a certain date with find(1) and run a command on the matches (rm would do nicely).
man tar, man find.
But you knew that. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
|