Skip to main content

All Questions

Tagged with
0 votes
1 answer
178 views

How to convert .ppk key with passphrase to OpenSSH key in batch?

My question is related to that one How to convert .ppk key to OpenSSH key under Linux? But in the case when the .ppk can have an associated passphrase. According to the man page of puttygen “there's ...
Mauricio's user avatar
1 vote
0 answers
172 views

Linux Equivalent for a windows Batch Script [closed]

i just switched over from windows to ubuntu. and i had a batch file to clean up unwanted files from certain downloads. and then clean up the empty folders. what would be the linux equivalent for the ...
Christopher Boelens's user avatar
2 votes
1 answer
684 views

Sort files into folders by file name according to a spreadsheet of names

I am a teacher and use Canvas-LMS for my course. The course is broken into smaller groups led by individual teaching assistants, who grade student assignments in their own section. Canvas only ...
ferris's user avatar
  • 123
0 votes
0 answers
106 views

windows exe on ubuntu server

I have to delete specific files on an ubuntu server. (If users have an problem with changing to home office and back) I use to run sudo find <start> -type f -name geometry.<bs>.<login&...
Andy A.'s user avatar
  • 113
1 vote
1 answer
194 views

How can I identify corrupted MIDI files in batch?

I have 120,000 MIDI files. A couple hundred of them are corrupted. So far I have been able to identify some of those, playing them one by one with two different media players (Foobar 2000 and Van ...
3d1l's user avatar
  • 473
1 vote
2 answers
5k views

XRDP (in a WSL distro) not connecting to remote desktop

So I was making a Batch file. By using it, I open a program in command line (WSL, to be specific). The program takes in some input. For an specific example- i'm making a Batch file which runs wsl --...
Saaransh Garg's user avatar
0 votes
1 answer
730 views

Compress all files to the "9" level with gimp

I created the scripts from Using Gimp to batch convert images to another format in Windows tip made by @forrest-voight. Can anyone tell me how I can add options to this script so that the maximum ...
dez's user avatar
  • 1
0 votes
0 answers
233 views

How to convert this ffmpeg command to a batch command

I am trying to copy metadata for encoded mp4 files from the source file and I have found this command that does exactly this. ffmpeg -i source.mov -i encoded.mp4 -map 1 -map_metadata 0 -c copy ...
PixelCruncher's user avatar
4 votes
1 answer
1k views

How can I detect if qBittorrent is downloading?

How can I write a batch/script file to query qBittorrent to find out whether or not it is downloading something? Depending on the outcome, I would like to execute further commands.
Richard's user avatar
  • 6,240
0 votes
1 answer
24k views

Send commands from Windows to Linux via Batch Script SSH

I want to have a simple way of running commands on a remote Linux machine from local Windows machines. To do this I will use batch scripts that send commands over SSH. I have having trouble with both ...
Ders's user avatar
  • 103
1 vote
3 answers
2k views

Generate multiple .txt files from Linux command line

I'm using Ubuntu and I need to generate multiple .txt files from a large .txt file that contains a word in each new line. Steps: Take one word from the large .txt list, e.g. foo generate .txt and ...
Tom's user avatar
  • 135
1 vote
1 answer
223 views

Delete old files in a folder excluding subfolders with a batch

i was wondering how to auto-delete old files in a certain folder but i want it to exclude its subfolders. I know how to automate the process and i know how to delete old files including subfolders: ...
Azarilh's user avatar
  • 60
7 votes
4 answers
4k views

Batch Conversion of different files in a folder to PDF

I need a Linux command-line instrument that can make scripted conversion of files of different format (usually .odt, .docx and .rtf) to PDF. How would I do that?
keddad's user avatar
  • 759
1 vote
0 answers
66 views

How can I batch substitute one font for another for all text in a collection of .EPS files?

I have a large number (50+) of .EPS files containing data plots, which are to be imported into a LaTeX document. Most of them contain text that specifies a font I do not have available, and so ...
Laogeodritt's user avatar
-1 votes
1 answer
2k views

Copy file from Windows to Linux, when a shell script is executed

I have a program on Linux server, which runs a shell script on Linux server. Say /tmp/ShellScript.sh Now I want to copy a file placed on my Windows Machine location C:\WindowsFolder\FileToCopy to ...
Rahul's user avatar
  • 39

15 30 50 per page