Hi Friends,
Below is my requirement and i am not clear how to approach this issue in unix programming.
I have a folder with 2500 files. The files are in below format.
1234_name1.txt
1234_name123.txt
4567_name1.txt
4567_name123.txt
and i need a program which will read each file from this... (5 Replies)
I want to move the files in a dir to different dirs based on their file names.
Ex: i have 4 different files with name -
CTS_NONE_10476031_MRL_PFT20081215a.txt
CTS_NONE_10633009_MRL_PFT20091020a.txt
CTS_NONE_10345673_MRL_PFT20081215a.txt
CTS_NONE_10872456_MRL_PFT20091020a.txt
and the 1st... (2 Replies)
I want to move the files in a dir to different dirs based on their file names.
Ex: i have 4 different files with name -
CTS_NONE_10476031_MRL_PFT20081215a.txt
CTS_NONE_10633009_MRL_PFT20091020a.txt
CTS_NONE_10345673_MRL_PFT20081215a.txt
CTS_NONE_10872456_MRL_PFT20091020a.txt
and the 1st... (4 Replies)
Hi All
I need a script to manipulate files based on a filename:
example filename: 66600_042706.pdf
the script will create a directory 66000 only if this directory is not existing. If that directory is existing it will just move the file to 66000/666000_042706.pdf
in addition, i want to... (4 Replies)
I know this gets covered quite a bit in the forum and I think there is enough there for me to figure out how to do what I am trying to do, I just don't think I would do it very efficiently so I am going to ask the question...
I have database log files with date and time stamps in the file like
... (7 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
Hi All,
I want to move the files in to different folders based on the files month in the file timestamp.
For example
All the september files in the directory should moves into the folder "sep_bkp_files" , August files in to aug_bkp_files folder...
Please help me to achive the above... (10 Replies)
Dear Experts
my scenario is as follows...
I have one source folder "Source" and 2 target folders "Target_123456" & "Target_789101". I have 2 series of files. 123456 series and 789101 series. Each series has got 3 types of fiels "Debit", "Refund", "Claims".
All files are getting... (17 Replies)
Discussion started by: phani333
17 Replies
LEARN ABOUT DEBIAN
bsnes-purify
bsnes-purify(6) Games Manual bsnes-purify(6)NAME
bsnes-purify - Tool for preparing ROMs for usage with bsnes
SYNOPSIS
bsnes-purify scan source-dir output-file
bsnes-purify output source-dir target-dir
DESCRIPTION
bsnes can not open all ROMs. For example SNES ROMs have to be without copier headers and with the filename extension .sfc. Recent versions
of bsnes support games to be arranged in cartridge folders (see below). bsnes 0.089 and later will only support cartridge folders.
bsnes-purify searches a directory for ROMs and performs an action on them. It also finds ROMs contained in .zip files.
bsnes-purify scan writes a list of the found ROMs together with their SHA256 checksums and sizes to a file.
bsnes-purify output creates for each found ROM a cartridge folder with the files program.rom and and manifest.xml in the target directory.
If the original ROM was a headered SNES ROM, program.rom will be the same, but without the header.
CARDRIDGE FOLDERS
Cartridge folders are intendended to contain all data belonging to a game. The name of a cartridge folder has to end with one of the file-
name extensions sfc, fc, gb, gbb, gbc or gba, depending on the system the game is for.
The user has to make sure that the following files exist
program.rom
the game ROM
manifest.xml
Additional data about the cartridge, generated by bsnes-purify. Sometimes bsnes-purify can't guess all the information for this file
and it has to be edited manually.
dsp1.rom, dsp1b.rom, dsp2.rom, dsp3.rom, dsp4.rom, st010.rom, st011.rom, st018.rom or cx4.rom
Some SNES games have pre-programmed coprocessors (DSPs) built into their cartridges. For these games, the required DSP programs also
need to be in the cartridge folders.
bsnes itself also writes files to cartridge folders, for example the data that would be saved to RAM in real cartridges to save progress,
or bsnes specific save states.
For further details, please ask at http://board.byuu.org/.
SEE ALSO bsnes(6)MAN PAGE AUTHOR
Tobias Hansen
May 11, 2012 bsnes-purify(6)