Thursday, August 4, 2011

[LINUX_Newbies] Need help with "mv" command

 

Hi everyone.

My hard disk is full, it has plenty of folders, plenty of files. Some folders have 5 GB of files some have 30 GB. I want to backup all my files in DVD and delete them from the hard disk.

The traditional way to do this, is to create individual folders, select files and move them to each individual folder until the folder reaches 4.3 GB, and then create another one and repeat the process. That would take several days to complete.

I wonder if there is a way to do this, using the "mv" command. Something like: /mv *.pdf /bkup01 < 4.3 GB (this is not the actual syntax, is just a way to illustrate my idea, asking the system to move all the pdf files to the folder bkup01 until 4.3 GB is reached.

Is this possible? If it is; could you help me with the correct syntax to perform that task?

Thank you. I hope you can help me with this.

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment