- 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

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338
$39.99
Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor
$79.00
Intel Xeon Gold 6248R 3.0GHz 24-Core SRGZG 35.75MB LGA3647 Server CPU Processor
$225.00
Intel Core i7-9700 3.0 GHz 8 Core Processor
$85.00
Intel SR338 Core i7-7700 3.60GHz 8M Socket 1151 Quad-Core CPU Processor LGA1151
$38.99
Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99
Intel 4th Gen Core i7-4790 SR1QF 3.60GHz (Turbo 4.00GHz) 8M 4-Core LGA-1150 CPU
$39.99
AMD Ryzen 7 5800X3D 8-Core 3.4GHz Socket AM4 CPU Processor 100-000000651
$299.99
Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$44.99
INTEL XEON E3-1285 SR373 V6 4.10GHz 4-CORE 8 MB LGA 1151 CPU PROCESSOR
$89.00