http://mywiki.wooledge.org/BashFAQ/095 https://unix.stackexchange.com/questions/128559/solving-mv-argument-list-too-long https://stackoverflow.com/questions/11289551/argument-list-too-long-error-for-rm-cp-mv-commands https://www.cyberciti.biz/faq/argument-list-too-long-error-solution/ printf '%s\0' *.txt | xargs -0 echo printf '%s\0' *.txt | xargs -0 mv -t .. find . -name '*.txt' -maxdepth 1 -exec printf '[%s]\n' {} +