Search Results

Search: Posts Made By: kidney514
8,464
Posted By kidney514
This seems to works, will try on a small batch...
This seems to works, will try on a small batch and keep you guys posted!


---------- Post updated at 07:09 PM ---------- Previous update was at 06:52 PM ----------

ok did a small test, and...
8,464
Posted By kidney514
What would the script look like? ----------...
What would the script look like?

---------- Post updated at 05:47 PM ---------- Previous update was at 05:41 PM ----------

# assuming the files are all called file_ something
find [directory]...
8,464
Posted By kidney514
Here is the output root# for fn in `ls...
Here is the output

root# for fn in `ls illustrator*`; do head -10 "$fn" newnam=`head -10 "$fn" | grep "%%Title" | cut -d" " -f2"` mv "$fn" "$newnam"; done
ls: illustrator*: No such file...
8,464
Posted By kidney514
Illustrator 9-10-04003 Illustrator 9-10-04004 ...
Illustrator 9-10-04003
Illustrator 9-10-04004
Illustrator 9-10-04005
Illustrator 9-10-04006
and so on

---------- Post updated at 04:47 PM ---------- Previous update was at 04:38 PM ----------...
8,464
Posted By kidney514
Need help for a Shell script to rename multiple files
Hi!

I need help to create a shell script to search inside a file and then copy a portion of the search result as the new file name.

Basically I was hacked over the weekend and the genius wipe...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 09:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy