I've been using this technique for a while, and thought i'd share!
Basically this is the logic.
In the world of BT downloading files is easy.
We have a few options for backing up those files.
There's internet storage and redundancy (getting more storage just for backup), but both of these are expensive and often not worth it.
My method is this, with a simple command you can append the names of all of your folders/files into a single tiny txt file.
The point? It's free and a great way to keep track of all your files.
Next time you have a hard-drive failure or get drunk and accidentally wreak havoc on your data, theres no problem.
You open up the txt which you have stored on another hard-drive, and take a look at the catalog of things you had in the past, making it a breeze to rebuild.
Of course, this method could be temporary until you find a better solution to replicate your data.
For me though, it works wonders, especially on movies.
Reason being that movies are usually larger in file size (especially HD) and you usually have less of them than say songs.
Data that works best with this solution are Games, and Movies.
Songs, text-related content etc can be duplicated on another drive cause they don't take up much space.
Pros:
- Free
- You don't need to try and remember everything you had.
- Allows you to get a higher quality version every time your hard-drive fails
- Takes up a negligible amount of space.
- Makes rebuilding very quick, just look at what you had and bam.
So now for the actual procedure.
Windows:
Open command prompt, search for CMD, or go to run and type in CMD.
Next we need to go to the correct folder.
To switch drive letters type in X: replacing X with the drive letter you wish to switch to.
In my case, my movies are kept on the M: drive. So i type M: then enter like below.
Next you can use CD to switch to another folder on the current drive.
Sowould switch to M:\Folder, as wouldCode:CD FolderOnce you're in the right place type:Code:cd M:\Folderwhich will recursively copy all filenames including subfolders, if you only want everything in that specific directory to be recorded doCode:dir /S > bak.txtThat's all, now simply find the bak.txt file we created, and you'll find everything in there.Code:dir > bak.txt
Linux:
The linux code is very similar, except instead of dir it's ls, and instead of /S for recursion it's -R.Code:ls -R > bak.txt
Shortcut:
Here is a shortcut if you want to use this in the future
Open up notepad or similar and put in the code I gave you above for windows or linux depending on which one you're in.
Save a copy of the document in every folder where you have things you may want to backup.
In windows save the file as backup.bat (don't forget the bat!)
In linux save it as backup.sh
Theres an extra step in linux, you need to make the file executable.
You can do this withor right click it and go to permissions.Code:chmod +x filename.sh
Now all you need to do to make a brand new updated backup is click that file!
If you want it to automatically save the output txt file somewhere else simply replace bak.txt with the location such as C:\Backups\MovieBackups.txt.









1Likes
LinkBack URL
About LinkBacks




Reply With Quote


