395 |
{ |
{ |
396 |
fatal("129th hash line character must be \" \".", __FILE__, __LINE__); |
fatal("129th hash line character must be \" \".", __FILE__, __LINE__); |
397 |
} |
} |
398 |
else if (buf[129] != '*') |
// else if (buf[129] != '*') |
399 |
|
// { |
400 |
|
// fatal("130th hash line character must be \"*\".", __FILE__, __LINE__); |
401 |
|
// } |
402 |
|
else if (buf[129] != ' ') |
403 |
{ |
{ |
404 |
fatal("130th hash line character must be \"*\".", __FILE__, __LINE__); |
//130th character is ' '. Need to figure out why sometimes space and sometimes '*'. |
405 |
|
fatal("130th hash line character must be \" \".", __FILE__, __LINE__); |
406 |
} |
} |
407 |
|
|
408 |
//There must be a 131'st character. Beyond that, we can't qualify, because filenames may |
//There must be a 131'st character. Beyond that, we can't qualify, because filenames may |
803 |
{ |
{ |
804 |
option_filterdups(argv[2]); |
option_filterdups(argv[2]); |
805 |
} |
} |
806 |
else if ((argc == 3) && (strcmp(argv[1], "dedupnopath") == 0)) |
else if ((argc == 3) && (strcmp(argv[1], "dedup_nopath") == 0)) |
807 |
{ |
{ |
808 |
//option_filterdups(argv[2]); |
//option_filterdups(argv[2]); |
809 |
} |
} |
810 |
else if ((argc == 3) && (strcmp(argv[1], "dryrunnopath") == 0)) |
else if ((argc == 3) && (strcmp(argv[1], "dryrun_nopath") == 0)) |
811 |
{ |
{ |
812 |
//option_filterdups(argv[2]); |
//option_filterdups(argv[2]); |
813 |
} |
} |
814 |
else if ((argc == 4) && (strcmp(argv[1], "dedup") == 0)) |
else if ((argc == 4) && (strcmp(argv[1], "dedup_preserve_inside") == 0)) |
815 |
{ |
{ |
816 |
option_dedup(argv[2], argv[3], 1, UNLINKPAUSETIME); |
option_dedup(argv[2], argv[3], 1, UNLINKPAUSETIME); |
817 |
} |
} |
818 |
else if ((argc == 4) && (strcmp(argv[1], "dryrun") == 0)) |
else if ((argc == 4) && (strcmp(argv[1], "dryrun_preserve_inside") == 0)) |
819 |
{ |
{ |
820 |
option_dedup(argv[2], argv[3], 0, UNLINKPAUSETIME/10.0); |
option_dedup(argv[2], argv[3], 0, UNLINKPAUSETIME/10.0); |
821 |
} |
} |