• New here? Register here now for access to all the forums, download game torrents, private messages, polls, Sportsbook, etc. Plus, stay connected and follow BP on Instagram @buckeyeplanet and Facebook.

Getting rid of Duplicate Files

Bust open one of those handy terminal windows and do the following:

cd /
find . | xargs ls -ld > /my_files.txt

Then pop open the file txt file in excel. Spread out the fileds by using the text to columns menu in the data menu.

Sort the file by name. You'll want to spread the fields so that you have the file names in the same column.

This will let you find all the files with the same name and will also show you the modified date and size so you can figure out which ones you want to delete.

Beautiful thing is that you can then determine which ones you want to delete and write a script to delete the files using excel.

Who needs an applicaiton when your OS is sitting on UNIX...

:wink:
 
Upvote 0
Back
Top