Moving, copying and removing multiple files at once in terminal
location: ubuntuforums.com - date: January 2, 2011
Hi I'm relatively new to ubuntu and i was wondering how i would go about removing multiple files/folders in a folder at once. What do i use to separate the names. I would like to know this for copying and moving aswell.
Thanks
Removing multiple files in nested directories...
location: linuxquestions.com - date: April 1, 2008
It should be simple, but how? (Having a bad brain day...lol)
The issue is, my wife's XP machine got overloaded by a virus, and she transferred ALOT of her files to my linux server to save as much as possible. ALL the *.exe files, however, are infected.
I need to delete all the *.exe files in there, but I REALLY don't want to go into each and every directory and
Code:
How to delete multiple files in terminal?
location: ubuntuforums.com - date: March 1, 2012
How do I delete multiple files in terminal, there are about 40,000. All start with the word newton, anyway I can simply delete all of these files without deleting anything else contained in the folder.
Regards
Ant.
ubuntu 10.04 removing multiple files in Makefile
location: ubuntuforums.com - date: July 4, 2010
I would like to delete multiple files with the same name but different extensions in a Makefile. As following
rm $(MAINFILE).{ps,pdf,aux,dvi,log,bbl,blg}
and I get the following error
rm: cannot remove `paper.{ps,pdf,aux,dvi,log,bbl,blg}': No such file or directory
I have done this in opensuse without any error. I tried to reinstall make and install some other packages which could be relevant.
I would be thankful if anyone can help me.
How to rename multiple files in terminal (LINUX)?
location: linuxexchange.com - date: January 1, 1970
I have bunch of files with no pattern in their name at all in a directory. all I know is that they are all Jpg files. How do I rename them, so that they will have some sort of sequence in their name.
I know in Windows all you do is select all the files and rename them all to a same name and Windows OS automatically adds sequence numbers to compensate for the same file name.
I want to be able to do that in Linux Fedora but I you can only do that in Terminal. Please, help. I am lost.
What is the command for doing this?
Copying SCP multiple files from remote server with wildcard argument in UNIX BASH
location:
linuxexchange.com - date:
January 1, 1970
This Expect script is a part of my UNIX Bash script
expect -c "
spawn scp
[email protected]:\"encryptor *.enc\" .
expect password: { send \"$PASS\r\" }
expect 100%
sleep 1
exit
"
I am trying to copy both 'encryptor' and '*.enc' with this one SCP command. Console tells me it cannot find ' *.enc" '
AWK script: moving, copying and renaming files
location: linuxquestions.com - date: December 4, 2006
I`ve got a task:
Directory contains files like this:
**********************************.abc
and file cache.txt, where are lines
**********************************=filename.txt
**********************************=filename.doc etc
I have to write AWK script, which would move/copy files according to their extension from given directory to required directory and give them correct names.
I`m really looking forward to getting some help.
Thank you very much for your time!
remove multiple files using terminal?
location: linuxexchange.com - date: January 1, 1970
I want to delete two specific folders and a file from my current directory:
1. settings/
2. models/
3. file.txt
How do I remove these using single command in terminal?
Renaming Multiple files at once in Terminal
location: ubuntuforums.com - date: January 24, 2011
Hello i am very new to Ubuntu and programing in general. i am trying to rename files in terminal. I would like to rename a list of mp3 files from Track 1, track 2, ect. to LOTR_01-01, LOTR_01-02 ect. I have a program in windows that does this for me but figure i should be able to do this in terminal as well. If there are any programs that will do the same in bulk on Unbuntu 10.10 that would help as well.
How to convert multiple files using ffmpeg from the command line or terminal
location: ubuntuforums.com - date: March 13, 2011
> can any body tell me how to convert multiple .wav files into .mp3. I want to convert whole folder. i am new to linux. can any body tell how to script it? thanks...
How to convert multiple files using ffmpeg and the command line or terminal.
In this case I'm converting .flv (adobe flash) to avi video formats and it's keeping the same quality if possible.
Just remember that the output file will be larger.
You can edit this command line and change the ".flv" to whatever type of input file you have and the ".avi" to your output format and ffmpeg will pick that up and use that instead. Change ALL occurrences in the line of course.
It's best if you stick all the files you want to convert into their own folder and "cd" into that folder before you use this.
It also uses the command "basename" which simply strips any leading directory names and the ".flv" suffix.
Code:
for f in *.flv; do echo "Converting $f&qu
please wait...
Page: 1 2 3 4 5 6 7 8 9 10