Sponsored Content
Top Forums Shell Programming and Scripting Script to move files with similar names to folder Post 302509812 by Chubler_XL on Thursday 31st of March 2011 07:37:40 PM
Old 03-31-2011
Your example dosn't share the same file name: even excluding the directory_name + _ prefix we still have Your File_01of06 and 01of6_Your File.
Do all the files names have this NNofMM part moved in this way?

Last edited by Chubler_XL; 03-31-2011 at 10:54 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

parsing file names and then grouping similar files

Hello Friends, I have .tar files which exists under different directories after the below code is run: find . -name "*" -type f -print | grep .tar > tmp.txt cat tmp.txt ./dir1/subdir1/subdir2/database-db1_28112009.tar ./dir2/subdir3/database-db2_28112009.tar... (2 Replies)
Discussion started by: EAGL€
2 Replies

2. Linux

Create folder by script & move files in it

Hi Team, I have over 1 lakh pdf files. I want to create folders like Disk-1, Disk-2 ..... & want to move 3000 pdfs per folder. Can i do it by script? Please help me. Thanks & Regards Parag Nehete (4 Replies)
Discussion started by: paragnehete
4 Replies

3. Shell Programming and Scripting

Merging two columns from two files with similar names into a loop

I have two files like this: fileA.net A B C fileA.dat 1 2 3 and I want the output output_expected A 1 B 2 C 3 I know that the easier way is to do a paste fileA.net fileA.dat, but the problem is that I have 10,000 couple of files (fileB.net with fileB.dat; fileC.net with... (3 Replies)
Discussion started by: valente
3 Replies

4. Shell Programming and Scripting

Script to move one folder to multiple folder...

Hi All, I have to requirement to write a shell script to move file from one folder (A) to another five folder (B,C,D,E,F) and destination folder should be blank. In not blank just skip. This script will run as a scheduler every 2 minutes. It will check number of files in folder A and move 1 to... (9 Replies)
Discussion started by: peekuabc
9 Replies

5. Shell Programming and Scripting

Finding files in directory with similar names

So, I have a directory tree that has many files named thusly: X_REVY.PDF I need to find any files that have the same X portion (which can be nearly anything) as any another file (in any directory) but have different Y portions (which can be any number from 1-99). I then need it to return... (3 Replies)
Discussion started by: Kamezero
3 Replies

6. Shell Programming and Scripting

Copying files from various folders to similar folder structure in another location

Hi, I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location. Ex: mainfolder1 file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure. rsync is not... (7 Replies)
Discussion started by: Raji Perumal
7 Replies

7. Shell Programming and Scripting

Move files from Space Folder to other folder

I want to move a folder with spaces from one folder to another. I have two folders like this, 1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/ I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Discussion started by: kannansoft1985
2 Replies

8. Shell Programming and Scripting

How to move the files older than x days with similar directory structure?

Hello, I need to move all the files inside /XYZ (has multi-depth sub directories) that are older than 14 days to/ABC directory but with retaining the SAME directory structure. for example: /XYZ/1/2/3/A/b.txt should be moved as /ABC/1/2/3/A/b.txt I know about find /XYZ -type f -mtime +14... (3 Replies)
Discussion started by: prvnrk
3 Replies

9. Shell Programming and Scripting

Script to move files and Creation of folder structure

We are receiving few zipped files in one location say : apple/oranges/incoming All .zip files are placed here in incoming folder. So few of the files are password encrypted. There are only 10 zipped files, so we are planning to create a script which will pick that zip file from incoming... (1 Reply)
Discussion started by: Sidhant
1 Replies

10. Shell Programming and Scripting

Request for Shell script to move files from Subfolder to Parent folder and delete sub folder

Hi Team, I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder. Eg: parent folder --> /Interface/data/test/IN Sub folder -->/Interface/data/test/IN/Invoice20180607233338 Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
MP3SPLT-GTK(1)						      General Commands Manual						    MP3SPLT-GTK(1)

NAME
mp3splt-gtk -- Gtk utility for mp3/ogg splitting without decoding. SYNOPSIS
mp3splt-gtk [-d Directory ] [ Filename ] DESCRIPTION
mp3splt-gtk is a free software that allows you to split mp3 and ogg files from several splitpoints, without need of decoding and reencod- ing. It is useful to split large mp3/ogg to make smaller files or to split entire albums to obtain original tracks. If you are splitting an album you can get splitpoints and filenames automatically from servers on internet like tracktype.org or from a local .XMCD (.CDDB) or .CUE file, with the possibility to adjust them automatically with silence detection. You can also split files automatically with silence detection, or by a fixed time length. If you have a file created either with Mp3Wrap or AlbumWrap, you can easily split it. The whole program is controlled by a self-describing GUI and documented in the gnome help system. Optionally the name of the input file and the output directory can be specified on the command line (see above). BUGS
Report any bugs you find to the authors (see below). Advices, info requests and contributions are welcome. SEE ALSO
mp3splt(1) mp3wrap(1) AUTHORS
Alexandru Ionut Munteanu <io_fx@yahoo.fr> DISTRIBUTION
Visit http://mp3splt.sourceforge.net for latest release. mp3splt-project is (C) 2002-2005 by Matteo Trotta (C) 2005-2012 by Alexandru Ionut Munteanu Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License. This can be found as COPYING in mp3splt packages. MP3SPLT-GTK(1)
All times are GMT -4. The time now is 07:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy