[Linux] need help for moving rar to destination.

Come up with a useful post-processing script? Share it here!
Post Reply
Metalheadz
Newbie
Newbie
Posts: 1
Joined: October 9th, 2011, 3:53 pm

[Linux] need help for moving rar to destination.

Post by Metalheadz »

Hi,
i need a litte help to move the rar or else to another folder.
or
move one folder up , but only the rar (avi) files.

I hope someone can help me.

Kind regards
User avatar
Mar2zz
Jr. Member
Jr. Member
Posts: 85
Joined: February 4th, 2011, 8:30 am
Contact:

Re: [Linux] need help for moving rar to destination.

Post by Mar2zz »

Code: Select all

find "$1" -name "*.r??" -type f -exec mv -t /destination/path {} \;
to move up one folder, but not sure if that works;

Code: Select all

find "$1" -name "*.r??" -type f -exec mv -t .. {} \;
Post Reply