![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help renaming files | bbbngowc | UNIX for Dummies Questions & Answers | 5 | 04-23-2008 02:08 PM |
| Renaming Files | abch624 | Shell Programming and Scripting | 2 | 03-20-2008 12:54 AM |
| renaming files | jxh461 | UNIX for Dummies Questions & Answers | 1 | 02-04-2008 09:32 PM |
| renaming files | systemsb | UNIX for Dummies Questions & Answers | 3 | 05-25-2006 12:56 AM |
| renaming files | raguramtgr | UNIX for Dummies Questions & Answers | 4 | 09-21-2004 10:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Renaming files
Hello!
I am not familiar with UNIX and I have this problem: I need to move files from a UNIX machine to a PC. UNIX file names contain ":" as special character which is not recognized in a PC. How can I change ":" for "_" in the name of a bunch of files in UNIX? Thanks for your help. Last edited by Tygoon; 12-20-2007 at 09:30 PM.. |
|
||||
|
How to includes files and folder inside a folder
Hi!
I tried the procedure described and I could change the file names inside the main folder. I would like this process to include any subfolders and files included in the main folder (and not repeating it in each folder!). Thanks! |
|
||||
|
Quote:
for file in `find .` do mv $file `echo $file | sed 's/:/_/g'` done |
|
||||
|
Quote:
Code:
# find . -type f | while read line; do .... ; done |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|