home.social

#dirs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #dirs, aggregated by home.social.

  1. CW: solution

    @hal_pomeranz this one compares the directories pairwise and considers files to be "the same" if the size and checksum match

    dirs=(*)
    for ((i=0; i < ${[@]}; i++)); do
    for ((j=i+1; j < ${[@]}; j++)); do
    echo ${dirs[i]} - ${dirs[j]}; rsync -vvrcn ./${dirs[i]}/ ./${dirs[j]}/ | grep uptodate
    done
    done