OverviewThis is an example command for renaming multiple files at once. Ideally it is presented as a method for shortening file names by removing common elements in the name. It could similarly be used to create backup copies of a file to play with by changing the "mv" command to a "cp" command. This command works as a single line command on linux/unix, and should be entered directly into the command prompt. | ||||||||
Changed: | ||||||||
< < | Renaming multiple fastq files | |||||||
> > | Renaming multiple fastq files with command line variables![]() | |||||||
Added: | ||||||||
> > | This allows you to quickly rename files without the overhead of extra variables, but may have slightly less control? It is a good idea to make sure the command makes sense by using "echo" before actually moving things (i.e. add echo between do mv ).
Renaming multiple fastq files with sedThis gives you a bit more control using sed to generate new variable names and a single move command rather than a simple replace command. | |||||||
|
Overview | ||||||||
Changed: | ||||||||
< < | This page is designed to give minor examples, and general principles for renaming multiple files at once from the command line based on given criteria and wildcards. Makes use of a command line for loop and the sed command. | |||||||
> > | This is an example command for renaming multiple files at once. Ideally it is presented as a method for shortening file names by removing common elements in the name. It could similarly be used to create backup copies of a file to play with by changing the "mv" command to a "cp" command. This command works as a single line command on linux/unix, and should be entered directly into the command prompt. | |||||||
Renaming multiple fastq files
|
OverviewThis page is designed to give minor examples, and general principles for renaming multiple files at once from the command line based on given criteria and wildcards. Makes use of a command line for loop and the sed command.Renaming multiple fastq files | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Added: | ||||||||
> > |
| |||||||
-- DanielDeatherage - 21 Aug 2014 |
OverviewThis page is designed to give minor examples, and general principles for renaming multiple files at once from the command line based on given criteria and wildcards. Makes use of a command line for loop and the sed command.Renaming multiple fastq files | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
|
OverviewThis page is designed to give minor examples, and general principles for renaming multiple files at once from the command line based on given criteria and wildcards. Makes use of a command line for loop and the sed command.Renaming multiple fastq files
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Added: | ||||||||
> > |
| |||||||
-- DanielDeatherage - 21 Aug 2014 |
OverviewThis page is designed to give minor examples, and general principles for renaming multiple files at once from the command line based on given criteria and wildcards. Makes use of a command line for loop and the sed command.Renaming multiple fastq files
|