}
if (argc < 2)
usage();
if (argc > 2)
if (argc > 2 || argv[1][strlen(argv[1]) - 1] == '/')
targetshouldbedirectory = 1;
remin = remout = -1;