lumia

Archive checksum manager
git clone git://lumidify.org/lumia.git (fast, but not encrypted)
git clone https://lumidify.org/lumia.git (encrypted, but very slow)
git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/lumia.git (over tor)
Log | Files | Refs | README | LICENSE

filenames.sh (641B)


      1 #!/bin/sh
      2 
      3 mkdir tmp
      4 cd tmp
      5 mkdir -- ' a'
      6 mkdir -- '-b'
      7 mkdir -- '-c   
      8 
      9 '
     10 touch -- ' a/-d'
     11 touch -- '-b/$\%")'
     12 cd ..
     13 
     14 ../lumia addnew tmp | sort
     15 ../lumia check tmp | sort
     16 cat 'tmp/ a/.lumidify_archive_cksums' | sort
     17 ../lumia rm 'tmp/ a/-d'
     18 cat 'tmp/ a/.lumidify_archive_cksums' | sort
     19 ../lumia check tmp/-b | sort
     20 ../lumia check tmp | sort
     21 cd tmp
     22 ../../lumia cp -- -b -e
     23 ../../lumia check | sort
     24 # this is sent to /dev/null because Perl produces a
     25 # warning (see BUGS in the perldoc) which shows the
     26 # line number and thus would change frequently
     27 ../../lumia mv -- '-c   
     28 
     29 ' '-f' > /dev/null 2>&1
     30 ../../lumia check | sort
     31 
     32 cd ..
     33 rm -rf tmp