- it worked
- and I seem to understand it
- pitty I just did remove the id3v2 tags using tag.exe for winblow$...
- anyway, tnx for the help, it is really very much appreciated!
grtz
Jos
--You might want to pick up the O'Reilly book on Bash shell programming.It's been an invaluable help to me. When you put single-ticks around '$file' it doesn't go thru expansion/translation.
--Anyway, you can try something like this: (Note, the font may be bad, so to clarify - these are CURLY brackets - the shifted ones.) This command, when executed from the root directory (/) will list all the symlinks on your system.
--Morphed to your needs (but only mildly tested)Code:find / -type 'l' -name '*' -exec /bin/ls -l "{}" ";"
--From ' man find ':Code:find -name "*.mpc" -exec id3v2 -d "{}" ";"--Another short example:Code:-exec command ; Execute command; true if 0 status is returned. All following arguments to find are taken to be arguments to the command until an argument consisting of `;' is encountered. The string `{}' is replaced by the current file name being processed everywhere it occurs in the arguments to the command, not just in arguments where it is alone, as in some versions of find. Both of these constructions might need to be escaped (with a `\') or quoted to protect them from expansion by the shell. The command is exe- cuted in the starting directory.
--Note: If you " echo * ", you don't get what you expect. (Type that in w/o the quotes.) Messed up my debugging scripts something awful until I looked it up, now I always put wildcards in single-ticks if I want them displayed as part of a banner.Code:# ===== Find all symlinks and keep a list for later echo ' *** Finding all symlinks... ' # Methodology for this taken from ' info tar ' somewhere # -mount = Don't descend into other filesystems # -print0 seps with NULL char instead of LF find / -type 'l' -name '*' -mount -print0 > /Allsymlinks.NULLlist echo ' *** Backing up all symlinks *** ' tar -cvz --null --files-from=/Allsymlinks.NULLlist --file=$Bkpdir/SYMLINKS.tar.gz
Originally Posted by Superstoned
- it worked
- and I seem to understand it
- pitty I just did remove the id3v2 tags using tag.exe for winblow$...
- anyway, tnx for the help, it is really very much appreciated!
grtz
Jos

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity
$100.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70
IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99
IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ
$20.00
IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU
$450.00
IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00
DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00