parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributing work to local and remote computers


From: Eric Geoffroy
Subject: Re: Distributing work to local and remote computers
Date: Wed, 19 Apr 2017 15:10:37 -0700

> So this fails, right?:
> cd ...
> parallel --workdir . -S : file ::: *.mp4

That fails. (but not because of parallel)
Here are some example file names:
00_00_00.mp4
00_01_00.mp4
00_01_01.mp4

I decided to change the command I'm testing with from 'file' to 'basename'. Lo 
and behold it works. So there's something about the 'file' command. (file-5.04)
The only reason I used 'file' was to get faster output than transcoding the 
files. So really,
cd ...; parallel --workdir . -S : file ::: *.mp4 Works great. 

> Given you mentioned the names were UTF-8, which would translate into
> newlines, could you try:
> 
> parallel --dryrun --workdir . -S : file ::: *.mp4

> parallel -0 --dryrun --workdir . -S : file ::: *.mp4
output for those was-
basename 00_01_01.mp4
basename 00_01_00.mp4
basename 00_00_00.mp4

> parallel -0 --workdir . -S : file ::: *.mp4
Works with basename, ffprobe, ffmpeg, etc, but not with file command. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]