Moving files into an archive
Hi,
Getting my hands dirty with the Linux command line but have hit a bit of a wall.
My dilemma is that my hosting server is fairly limited with disk space and I keep filling it up with a PHP script that grabs content.
What I am trying to do is *move* a few hundred files in a subdirectory into one compressed file.
Is there any way of doing this so that it actually deletes each file immediately after it is added to the archive? Otherwise I go over my disk quota during the process and can't write the archive file to disk.
Thanks very much for your time.
|