Fixed #31664: Implement {/} as basename

This commit is contained in:
Ole Tange 2010-12-03 00:10:05 +01:00
parent 77f83e6270
commit 310ddc31ee

View file

@ -1126,6 +1126,9 @@ Convert all WAV files to MP3 using LAME:
B<find sounddir -type f -name '*.wav' | parallel -j+0 lame {} -o {.}.mp3>
Put all converted in the same directory:
B<find sounddir -type f -name '*.wav' | parallel -j+0 lame {} -o mydir/{/.}.mp3>
=head1 EXAMPLE: Removing two file extensions when processing files and
calling GNU Parallel from itself