mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-26 07:57:58 +00:00
Fixed #31664: Implement {/} as basename
This commit is contained in:
parent
77f83e6270
commit
310ddc31ee
|
@ -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>
|
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
|
=head1 EXAMPLE: Removing two file extensions when processing files and
|
||||||
calling GNU Parallel from itself
|
calling GNU Parallel from itself
|
||||||
|
|
Loading…
Reference in a new issue