Search Results

Search: Posts Made By: gansvv
1,913
Posted By gansvv
works
Okay, square brackets match a character class eh... so this works:


mv -iv [0-9][0-9][0-9] /three
mv -iv [0-9][0-9][0-9][0-9] /four
mv -iv [0-9][0-9][0-9][0-9][0-9] /five


---------- Post...
1,913
Posted By gansvv
mv three letter long folders
Hi,
Quick question: My directory has folders such as 001, 002, ... till 99999.

I would like to move all three digit folders into one folder, say /three, all four digit folder into /four, and...
30,244
Posted By gansvv
wget and ftp
Try:
wget -r ftp://username:password@server/path -A "*.txt"
28,295
Posted By gansvv
@Methyl: I am running Ubuntu Server 10.10 and...
@Methyl: I am running Ubuntu Server 10.10 and using bash.

The directory structure is like this:
/old_archive/
--/year2009/
----/001/
----/002/
.
.
----/300/
--/year2008/
----/001/...
28,295
Posted By gansvv
Decompress (with gunzip) recursively, but do not delete original gz file
Hi all,

I have a folder hierarchy with many gz files in them. I would like to recursively decompress them, but keep the original files. I would also like to move all the decompressed files (these...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy