On Mon, 05 Oct 2009, Daniel Dawid Majewski wrote:
> $ find -name '*6x*.txt' -exec bash -c 'mv "{}" $(echo "{}" | sed -e
> "s;\(Seria\)\s\(plików\)\s\[6x\([[:digit:]]\{2\}\)\]\s\(.*\)\s(Z.*t);\1.\2.S06T\3.\4;")'
> ';'Spróbuj: for I in $(find -name '*6x*.txt'); do mv "$I" "$(sed -e "cały ten długi syf")"; done -- Paweł _______________________________________________ pld-users-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
