Length of a video file (.avi, .mpg) from the command line

2019-08-14 Thread Jean-Baptiste Thomas
Can anyone recommend a command line program that could tell me the length of the video stream in a .avi or .mpg file ? Thanks in advance.

Anonymising email service providers

2018-07-22 Thread Jean-Baptiste Thomas
Looking for email service providers that anonymise outgoing email. More specifically, accept submissions through SMTP but do not show the IP address of the system of origin in the Received: header added by their MTA. Including the originating IP address in an ad-hoc header to prevent abuse does

Re: apt{-cache,-get,itude} show wrong version of package after update

2018-04-02 Thread Jean-Baptiste Thomas
>> What I'd like to know now is : what prevents apt-get from >> downloading the Packages file from the mirror ? Wget can ! > > Move all the files out of /var/lib/apt/lists/ so that apt-get update > has to download fresh copies. That should get you back on track. > > By all means take the

Re: apt{-cache,-get,itude} show wrong version of package after update

2018-03-28 Thread Jean-Baptiste Thomas
> Try running: > sudo apt-get update # one more time, to be sure > # then > apt-cache policy ntp > > and see what version it refers to. Thanks for the suggestions folks but there's not much to see there, no packages are pinned. I've made some progress, though. A closer look at the output reveals

apt{-cache,-get,itude} show wrong version of package after update

2018-03-27 Thread Jean-Baptiste Thomas
After apt-get update, attempting to install ntp tries to download version 1:4.2.8p10+dfsg-3+deb9u1 and fails. It tries to download +deb9u1 because $ aptitude show ntp Package: ntp Version: 1:4.2.8p10+dfsg-3+deb9u1 State: not installed [...] and it fails because the version of the

Re: error "sh: 1: exec: ...: File exists" with dash

2016-03-03 Thread Jean-Baptiste Thomas
EEXIST does sounds like a strange reason for exec(2) to fail. Did you strace -f to confirm that EEXIST is indeed set by execve() ? I've seen weirdly-named files appear in NFS-exported file systems. I seem to remember they were related to deleted files but it might happen in other circumstances. A

Re: Debian as My home firewall/router

2016-03-02 Thread Jean-Baptiste Thomas
> I like to avoid the latest and greatest (especially Debian > latest and greatest, vide infra). "Debian vide infra" ? What's that ?

Re: systemd and bash scripts

2016-02-27 Thread Jean-Baptiste Thomas
Careful, it looks like your mailer breaks threading. De: "tand.read" > Something very strange goes on and probably > the wise thing is to use old good rc3.d links Strange indeed. You could try adding an insulation layer between systemd and your script by setting ExecStart

Re: systemd and bash scripts

2016-02-27 Thread Jean-Baptiste Thomas
De: "tand.read" > I am testing my own systemd unit (a service) that has this > [service] section: > Type=oneshot > > RemainAfterExit=yes > ExecStart=/root/bin/mytest.sh start > ExecStop=/bin/echo /root/bin/mytest.sh stop > > ("Want="-ed by multi-user.target and "After="

Re: Need mentorship and support

2016-02-26 Thread Jean-Baptiste Thomas
De: "Himanshu Shekhar" > The problem is about reading metacharacters. For example, username is > "harry", password is "harry@123" , proxy server "10.101.12.1:8080". > Thus, apt.conf would have text > "http://harry:harry@123@10.101.12.1:8080;. > > This leads to unwanted

Re: Need mentorship and support

2016-02-26 Thread Jean-Baptiste Thomas
De: "Himanshu Shekhar" > Also, I would love to know about good sources to learn and practice > Bash. I followed "The Linux Command Line by William E. Shotts". Chris F A Johnson has written two books on the subject. Haven't read them but he used to be a regular on

Program to update udev rules after adding an ethernet adapter ?

2016-02-24 Thread Jean-Baptiste Thomas
When you install Debian on a PC, you get one line in /etc/udev/rules.d/70-persistent-net.rules for each ethernet adapter present. If you add a network adapter after installation, 70-persistent-net.rules needs updating. Is there a program that can do it for you ?

Re: Debian package on Windows

2016-02-22 Thread Jean-Baptiste Thomas
De: "Ric Moore" > and the GPL notice is included. I saw no mention to avoid the GPL in his > request for information. Ergo, as long as the GPL is honored, this plan > is actually a plus for Debian. How is Debian better off from Microsoft porting apt to Windows ?

Re: bash-completion, tab and ambiguous globs

2016-02-19 Thread Jean-Baptiste Thomas
> I wouldn't want to get by without tab completion either, but > programmable completion as I've seen it implemented in packages provided > by Debian seems to break some behaviors in the built-in tab completion > on which I had come to rely, so I always turn it off on my machines. By "turning

Re: 5000 Folders in a directory

2016-02-18 Thread Jean-Baptiste Thomas
> *samueloph@teste:~/foo$ time ( for i in $(seq 0 ) ; do touch $i ; done > )real0m10.245suser0m3.332ssys0m1.576s* > Using shell built-in ">" to create 1 files: ​> > *samueloph@teste:~/foo$ time ( for i in $(seq 0 ) ; do > $i ; done > )real0m0.742suser0m0.064ssys

bash-completion, tab and ambiguous globs

2016-02-16 Thread Jean-Baptiste Thomas
In bash, typing, say, "ls x*y" then tab lists all the possible expansions of "x*y" on the next line, then prints the command line anew with "x*y" replaced by longest common stem. With bash-completion installed, "x*y" is summarily replaced by its first match. Is there any way to restore the