Argument list too long when copying files

for i in /path/to/dir/*; do cp "$i" /path/to/other/dir/; done

你可能感兴趣的:(linux,linux)