![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| listing files in a directory in bases of size | arunkumar_mca | UNIX for Dummies Questions & Answers | 1 | 02-13-2008 07:38 AM |
| Find files size 0 within a directory | astonmartin | Shell Programming and Scripting | 3 | 02-07-2008 04:49 PM |
| files of size 0 need to be deleted inside a directory | namishtiwari | Shell Programming and Scripting | 2 | 01-28-2008 04:11 AM |
| bash script working for small size files but not for big size files. | davidpreml | Shell Programming and Scripting | 1 | 11-01-2006 11:06 AM |
| How to check if 3 files have same size in directory | oggle | Shell Programming and Scripting | 5 | 02-16-2005 12:51 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Cp files (>5 Mb size) from one directory to another
Hi All,
I have a requirement like below, I want to transfer few file of size > 5 Mb from one directory to anotehr directory. Please let me know the command how can i do that Sorry if it looks silly Senthil |
|
||||
|
The mv command should be fairly agnostic to the sizes of the files. If you are moving from one file system (mount point) to another and the destination has issues with large files, you might get weird error messages, but that would be like when you are talking gigabytes.
|
|
||||
|
There are various variants of the find command, but see if the following finds the files you want for a start. Code:
find path/to/directory -type f -size +5000 These forums are full of examples of how to use find; search for find mv for some good examples. |
|
||||
|
copying files
Hi,
If the files in the same directory you can use one of these comands: go to the path where is the file is located by cd comand then do cp [the path] [the file name [the pathe where you want to keep][the file name] you can also use mv in the same way If the files are in different filesystems you have to use: FTP comand good luck |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|