I have just installed Free Arc utility for compression from : http://www.freearc.org/Download.aspx
and it works smoothly but in command Line mode.
Commands:
a add files to archive
c add comment to archive
ch modify archive (recompress, encrypt and so on)
create create new archive
cw write archive comment to file
d delete files from archive
e
How would you go about backing up just some files and subdirectories of a given directory to a compressed archive so that the tree structure could then easily be recreated from that archive.
Basically, rsync, with a little bit of scripting around (to select the files and folders I need) does the job, except I don't want to just copy.
Hi All,
My requirement is to remove the more than 60 days files from Archive folder, so prepared this command.
Code:
for files in `find /abc/Archive/<file_name_25032012.dat> -type f -mtime 61|xargs ls -lrt`
do
rm -f $files
done
I tested this command in both unix and informatica.
In unix if files are exists on this date then it's identifying files and removing else it's removing
How do I backup dot directories, dot sub-directories and dot files residing in /home/user/ to an archive? Normally I would run something like the following, but that doesn't seem to work on hidden folders and files:
Code:
tar -czvf pictures.tar.gz ~/Pictures
I am using Xubuntu 11.10
Hi all,
I have upgraded recently to Ubuntu 12.10 with Cinnamon 1.6.3.
When I want to use Archive Manager (file-roller 3.6.0) with Nautilus 3.4.2 I cannot add files to an existing zip archive.
(1) When I try to add a file using Archive Manager's menu: Add File nothing happens
(2) When I drag&drop a pdf file to an existing zip archive I get "You can't add an archive to itself"
(3) W
File Archive is your personal File Manager with simple UI and affable featuresÂ….
Creating and storing the files within the smartphone is longer a tedious process. File Archive will let you find, create and store up files and folders within seconds.
If you are looking for a potent file manager that can copy, move, rename, create files and folders, including multi-selection, ZIP etc.
I have the followin directory structure:
base/
files/
archives/
scripts/
I want a script to run from scripts/, compress files that match results.*.log in files/ into a gzipped tar archive in archives/.
I'm trying the following command:
tar czfC ../archives/archive.tar.gz ../files results.*.log
But I get
tar: results.*.log: Cannot stat: No such file or directory
tar: Exiting with f
Everything I read says that to exclude .svn and .htaccess and other hidden files when creating a tar archive, use the --exclude=".*" pattern.
When I try, I get an empty archive. When I leave out the --exclude long option everything gets archived.
Here's the full command I'm using:
tar -czvf ../_migrate/archive_2012-05-07.tgz --exclude=".*" ./*
Hi there, I am very new to unix and having trouble with a fairly simple statement:
Code:
cd /user
ls -t -c1 | sed -ne '11,$p' | mv xargs archive/
What I want the code to do is sort all files in a directory by timestamp, select all of the files after the 10th file, and then move those files to an /archive folder.
When I execute this statement it throws a "file not found" err