RE: [SLE] Copying file while adding preffix
The only thing I could think of would be to write a shell script that uses find(1) and sed(1) or perhaps perl or python. You'd parse the output from 'find <dir> -name "*"' and insert your prefix after the last '/' in the path. -----Original Message----- From: Andrei Verovski (aka MacGuru) [mailto:andreil1@starlett.lv] Sent: Thursday, June 23, 2005 4:44 PM To: suse-linux-e@suse.com Subject: [SLE] Copying file while adding preffix Hi, Someone can suggest me how to recursively copy files from a given directory while adding preffix to the copies in destination dir? Thanks in advance for any suggestion(s). Andrei -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (1)
-
Shinn, Rob (R.A.)