hello
i have a requirement where i have a direcotry in which i get files in the format
STOCKS.20080114.dat
STOCKS.20080115.dat
STOCKS.20080117.dat
STOCKS.20080118.dat
i need to loop through the directory and sort by create date descending order and i need to process the first file.
... (1 Reply)
Hi,
I need to sort all the files in a directory whilst retaining the originals. So if in the directory I have:
File1
File2
File3
I want to sort these files so that I would have:
File1
File1.sort
File2
File2.sort
File3
File3.sort
where I have added the .sort extension to show... (4 Replies)
Hi all.
I have 2 files like this:
f1
A 10
B 80
C 9
f2
A 11
B 700
C 10
What I want is the concatenation of the two files sorted by name (alphabetically) and size (numerically), so the result should be like this:
F3 (cat f1 f2 sorted)
A 10
A 11
B 80
B 700 (2 Replies)
hi there,
I have a directory which contents I can parse dynamically. I end up with a file list. I then want to display those files sorted by date, oldest files first. I have very very little PERL experience...Would anyone know how to do that ? Thanks in advance. (8 Replies)
I got a long list of file name.
My input:
data_1.txt
data_2.txt
data_3.txt
data_10.txt
data_21.txt
data_12.txt
data_4.txt
My desired output:
data_1.txt
data_2.txt
data_3.txt
data_4.txt
data_10.txt
data_12.txt
data_21.txt
Does anybody got idea how to archive it? (11 Replies)
Hi,
A basic query. In the example file below, I want to sort by column 1 and then by column 2 numerically. I have tried sort -k2n,1 file1 but while this sorts the columns in the correct order, it does not sort column 2 numerically. Any help would be much appreciated. Also, if you have time to... (3 Replies)
Greetings - I'm not necessarily new to bash scripting - I'm probably between beginner and intermediate, but I have something that I just cannot figure out after many attempts to find it. I have a file that is merely a list of many files, with their respective paths, and a branch path (ClearCase)... (5 Replies)
Hey Guys,
I am facing an annoying scenario, fewer times when I execute the sort command, it throws out on error saying that "No Space on available on /var/tmp/<temp file name>. May be it is set to /var/tmp directory. I was wondering, if I cant redirect the temporary file creation to any other... (3 Replies)
Hello all,
I have a list of file names in a text document where each file name consists of 4 letters and 3 numbers (for example MACR119). There are 48 file names in the document (they are not in alphabetical or numerical order). I would like to reorder the list of names so that the 48th name is... (3 Replies)
Discussion started by: MDeBiasse
3 Replies
LEARN ABOUT DEBIAN
backup-manager
backup-manager(8) System Manager's Manual backup-manager(8)NAME
backup-manager - An easy to use backup tool for your Linux box.
SYNOPSIS
backup-manager [options]
DESCRIPTION
Backup Manager is an easy-to-use tool for generating archives.
It is designed with simplicity in mind for those who don't want an obfuscated tool for making tarballs.
There are different methods for building archives: tarballs, incremental tarballs, mysql dumps, svn dump. You can also write your own
method with a generic method that will execute a command and will archive its output.
Every times you run Backup Manager, you can upload archives thanks to a couple of upload methods: through FTP, SSH or even with RSYNC.
It's also possible to export your archives to removable media like CDR or DVD.
CONFIGURATION FILES
Backup Manager's behavior is defined in configuration files. You can use different configuration files at the same time. The default con-
figuration file is `/etc/backup-manager.conf'.
An example should have been provided with the program, most of the time it's installed in `/usr/share/backup-manager/backup-man-
ager.conf.tpl'.
If you want exhaustive details about how to write your own configuration files, please refer to the Backup Manager User Guide:
http://www.backup-manager.org/documentation/user-guide/
OPTIONS --version Show the version number.
--verbose|-v Print what happens to STDOUT.
--no-warnings Disable warnings.
--help|-h Print a short help message.
--upload|-u Just upload the files.
--purge|-p Just purge old archives.
--burn|-b Just burn the archives.
--md5check|-m Just perform the MD5 checkup on the CDR/CDRW.
--conffile|-c file Use an alternate config file.
--force|-f Force overwrite of existing archives.
--no-upload Disable the uploading process.
--no-burn Disable the burning process.
--no-purge Disable the purging process.
BUGS
If you find a bug or want to submit a wish-list to the development team, feel free to use the official Bug Tracking System:
http://bugzilla.backup-manager.org
WEBSITE
To find latest news and releases, come to the official website: http://www.backup-manager.org
SEE ALSO backup-manager-upload(8), ssh-keygen(1)AUTHOR
Alexis Sukrieh <sukria@backup-manager.org>
backup-manager(8)