10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have zip file that needs to be validated and checked for 5 times with sleep of 60 seconds. Some thing like below
#!/bin/bash
counter=1
while
do
curl -i -k -X GET `strings tmp.txt |grep Location| cut -f2 -d" "` -H "Authorization: Token $TOKEN" -o $zip_file ## this is... (6 Replies)
Discussion started by: Master_Mind
6 Replies
2. UNIX for Beginners Questions & Answers
I have more than 200K files created in year 2017 under directory having size of 50GB.
I want to all these files in one shot.
Is there any faster option available with find command to delete all these file ? (6 Replies)
Discussion started by: sp23029
6 Replies
3. Shell Programming and Scripting
Hi All,
how can i delete files from my Unix directory on the basis of year, i have files from 2001 to till 2014, but from their, i have to delete only 2013 file.Below is my file name
rwxrwxrwx 1 guopt users 5169 Jul 12 00:30 grt592_20130712003000.SAP
Thanks
Kki (2 Replies)
Discussion started by: kki
2 Replies
4. Shell Programming and Scripting
Hi All,
I want to login to a remote server using FTP command and then check for files older than 1 year and delete those files.
Please let me know how can i achieve this using Unix Commands.
Thanks in Advance, (10 Replies)
Discussion started by: HemaV
10 Replies
5. Shell Programming and Scripting
Hi
I have lot of files and subdirectories inside a directory which are created in the years 2006, 2007, 2008, 2009 and 2010.
I want to delete all the files and subdirectories belonging to the year 2006 alone.
How can I do that ? (5 Replies)
Discussion started by: samsungsamsung
5 Replies
6. UNIX for Dummies Questions & Answers
can someone provide a command to delete files by year? I have several files created last year 2009.
Im trying to list first ls -lrt | grep '/2009/ {print $10}' by it returns no result.
Pls advise (2 Replies)
Discussion started by: lhareigh890
2 Replies
7. UNIX for Dummies Questions & Answers
I have a large number (50,000) of pretty large compressed files and I need only certain lines of data from them (each relevant line contains a certain key word). Each file contains 300 such lines. The individual file names are indexed by file number (file_name.1, file_name.2, ... ,... (1 Reply)
Discussion started by: Boltzmann
1 Replies
8. UNIX for Dummies Questions & Answers
Hello everybody,
I've seen some text documents where they publish blocks of text and tell you to save it as "file.tgz" for example, and when you decompress the file, it actually works.
How is that done? is there a program?
Because i tried cat and doesn't work, tried less, more, hexedit and... (2 Replies)
Discussion started by: semash!
2 Replies
9. UNIX for Dummies Questions & Answers
Hello All
I compressed a file hello by using compress command
compress hello ( enter )
i got the file as hello.z
1. My question is how can i see the file hello.z
2. How can i uncompress it back to change it to filename hello
thanks (4 Replies)
Discussion started by: supercops
4 Replies
10. UNIX for Dummies Questions & Answers
Hi there,
not sure if I am in the right place but here is my question.
I have a file that is over 100mb and my host does not allow FTP of files above 100mb so I thought I would use a compression utility to compress it into smaller parts say 10mb each, upload them and then re-assemble them on... (7 Replies)
Discussion started by: gffb
7 Replies