Other Work
Links
Categories
-
Category Archives: useful
Delete Duplicate Files With Bash
I needed to delete all but 1 duplicate files from a bunch of experiments. I didn't care about file names. Here's the bash - it works. #!/bin/bash declare -a list=( `find ./DIRECTORY_CONTAINING_FILES f` ); declare -a sums; cnt=${#list[@]} echo "creating … Continue reading
Posted in Programming, Simulation, Social Data Analysis, useful
2 Comments