Search Results

Search: Posts Made By: kedar.mehta
5,199
Posted By kedar.mehta
Curiousity
Hi Pludi,

Apologize for the bumping up the post with double question. Blame my curiosity for that!! Appreciate your efforts to keep the forum systematic.

I will continue eagrly waiting for...
5,199
Posted By kedar.mehta
Remove only Empty Directories
I know this one was answered before in forum below -
https://www.unix.com/unix-dummies-questions-answers/58210-removing-empty-folders-using-find-command.html

But that one is closed & I have a...
13,464
Posted By kedar.mehta
@Methyl, That is - SunOS 5.8...
@Methyl,
That is -
SunOS 5.8 Generic_117350-41 sun4u sparc SUNW,Sun-Fire-V440

I dont think i got files larger then 2 GB. That is the total size of files. My actuall problem is number of files...
13,464
Posted By kedar.mehta
Okay..Thanks for confirming..I wasn't so...
Okay..Thanks for confirming..I wasn't so confident on that!

Yes + wont work with. I got thousands of arguments so xargs is the way to go..Actually I am not facing any problem in removal of...
13,464
Posted By kedar.mehta
1) Will this delete existing files or that I will...
1) Will this delete existing files or that I will have to do manually?
(It would be good if this command can delete as well - otherwise i will have to fire this costly operation - find - once again...
18,036
Posted By kedar.mehta
Thanks to you both of you guys : frozentin &...
Thanks to you both of you guys : frozentin & TonyFullerMalv. I am feeling bit reluctant (actually lazy) to go for looping & scripting, if we can do it with a single command line...
:(

@frozentin...
13,464
Posted By kedar.mehta
Thanks, Radoulov. Will try this & let you...
Thanks, Radoulov.

Will try this & let you know - if i am stuck up any where..
13,464
Posted By kedar.mehta
Thanks, Methyl. It was good to explore...
Thanks, Methyl.

It was good to explore about uname & shell. I just knew about uname -a.

Coming to back on the trace -
All the files under same directory - on the same mound point. None of...
18,036
Posted By kedar.mehta
@ cbo0485. First of all thanks to you... ...
@ cbo0485.

First of all thanks to you...

I didn't get you actually.. Is your code (quoted ) going to process alll the files' list? Do you mean my code will get only one file compressed? m Bit...
18,036
Posted By kedar.mehta
Compress multiple files at one go
I want to compress all the files which are three years older ..I have thousands of files...

1) This doesnt work
find ./ -type f -mtime +1176 -print | xargs -n1 -i tar -cvf {}
Errror
tar:...
3,341
Posted By kedar.mehta
Cool, Thanks buddy..!!
Cool, Thanks buddy..!!
13,464
Posted By kedar.mehta
compress multiple files
First of all thanks to all to provide such valuable inputs & sharing the knowledge...
Well what i did is just waited for overnight... the confusion here was 0- i didnt mind waiting for 8 hours - but...
13,464
Posted By kedar.mehta
Moving extremely large number of files to destination
Hello Techies,

m here with a small issue. Have read out all the relavent threads on unix.com but it was not so good sol. for me.

It's a simple & known issue. I want to move lots of files to...
3,341
Posted By kedar.mehta
moving multiple files
Well, this seems to be working... Thanks buddy.

However, I am still not clear about how to use {} with Xargs. Can't I do the same thing without {} ?

& what difference "-n1 -i mv {}" will...
3,341
Posted By kedar.mehta
move all 2008 year's file to destination directory
I am trying to move file created/modified in 2008 year to <new directory>. But trapped badly in Xargs {}.

Looks like mv is not getting destination file properly. It assumes source file s to be...
15,213
Posted By kedar.mehta
Delete first row of csv file
I have a csv file, which is > 2 Gigs. I need to BCP that file to Sybase db , but I cant upload that b'caz first row of the file is failing. ( having some errors probably.) I can manually insert the...
17,220
Posted By kedar.mehta
Thanks, man.. One surprising thing, ...
Thanks, man..

One surprising thing,

Both of command below returns me the same set of result.


find /mrk/ftp/incoming/gbs -type f -mtime +0 -ls
find /mrk/ftp/incoming/gbs -type f...
17,220
Posted By kedar.mehta
Find files older then today & display with timestamp info
Small query-

I want to do some operation on all the files older then today. Before I do that operation, i want to verify if the command works properly or not.

Surprisingly, the command below...
Showing results 1 to 18 of 18

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