10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to copy files from one directory to another directory with the subfolders copied.
If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*.
I do not want to create sub folders in folder2.
Can copy command create them automatically?
I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
4 Replies
2. Shell Programming and Scripting
I am trying to write a script that will copy all file listed in a text file (100s of file names) to a new directory
Assume script will run with main as current working directory and I know how many files/lines will be in List.txt
Im trying to work up a test script using this model
Contents of... (2 Replies)
Discussion started by: IAmTheGrass
2 Replies
3. Red Hat
I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs..
even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies
4. UNIX for Dummies Questions & Answers
I have a folder will a lot of documents (pdf, xls, doc etc.) which users have uploaded but only 20% of them are currently linking from my html files. So my goal is to copy only the files which are linked in my html files from my Document directory into another directory.
Eg: My documents exist... (5 Replies)
Discussion started by: ankitha
5 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I'm having a problem with some basic piping issues...
I have been able to get in a directory and ls | gsed in order to list every N file for instance:
ls | gsed -n '2~5p'
The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
4 Replies
6. UNIX for Dummies Questions & Answers
Dear All,
Again I have another simple question. :confused:
I want to write a csh which can copy all files of a current directory with a new name in the same directory, I mean:
If I have tree bird apple as files in a directory I want to give ,say number 007 as argument to my csh and it copies... (3 Replies)
Discussion started by: dreamer0085
3 Replies
7. Shell Programming and Scripting
Hello,
I am trying to rename bulk files however i dont think the rename/mv command is giong to help me here. here is a quick snapshot of the files I need to rename:
75008040 -rw-r----- 1 root root 8716 May 8 05:00 10.9.144.2
75008041 -rw-r----- 1 root root 11700 May 8 05:00 10.9.160.2... (10 Replies)
Discussion started by: jallan
10 Replies
8. Solaris
I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it?
Thanks In advance (4 Replies)
Discussion started by: shreethik
4 Replies
9. Shell Programming and Scripting
Hi
when copy the files from one directory to another as like below,it is tried to copy *. as a file.
cp /home/rha/*.
My objective is to copy all the files (don't care about case sensitive),
Thanks in advance for your valuable reply. (1 Reply)
Discussion started by: HAA
1 Replies
10. Shell Programming and Scripting
I need to copy about 13 Tb of data from one directory and subdirectories to the other (another mount point). If I run this as a cron, say between 10 pm and 7 am, not all of the files will be copied over. Is there a way of 'resuming' the copy the following evenings until all files are copied over? (0 Replies)
Discussion started by: hd2006
0 Replies
IFP(1) General Commands Manual IFP(1)
NAME
ifp - access iRiver iFP audio devices
SYNOPSIS
ifp command [arguments ...]
DESCRIPTION
ifp lets you manage your music on an iRiver iFP music player acting in "Manager Mode". If your player is using "UMS Mode", then you don't
need this program; it will appear as new drive when you plug it in.
This manual page documents the version of ifp included as an example application for the libifp library. The interface is intended to mimic
the ifp binary found in the ifp-line binary package.
ifp can upload or download files or directories, delete or make directories on the device, format the device, or upgrade your firmware.
COMMANDS
ls [directory]
List the files and directories on the device. The root directory is /. Directories are preceded with 'd' and other files with 'f'.
df Display total and free space on the device.
upload localfile remotefile
Copy the file named localfile to the iFP device, and name it remotefile. (This is like cp.)
upload localfile remotedir
Copy the file named localfile to the iFP device, into remotedir. (This is like cp.)
upload localdir remotedir
Copy the entire directory localdir to the device, into remotedir. This copies into a subdirectory, so upload foo / puts files from
the directory foo info /foo on the device. (This is like cp -R.) This uploads the entire directory, not just audio files.
put localfile | localdir
Upload the file or directory to the device, with the same name it has locally. If a directory is given, it is put in /.
download remotefile localfile
download remotefile localdir
download remotedir localdir
Like upload, but copies from the iFP device to your system. Some proprietary file types may not be downloaded.
get remotefile | remotedir
Like put, but copies files or directories from the device to your current working directory.
rm [-r] file
Delete (recursively) a file (or directory) on the device.
rmdir dir
Delete an empty directory on the device.
mkdir dir
Create a directory on the device.
battery
Display battery status of the device.
typestring
Display the model number of the device.
firmversion
Display the firmware revision currently on the device.
format Reformat the device's memory. This will delete all your music.
firmupdate FIRMWARE.HEX
Upload the file FIRMWARE.HEX as new firmware for the device. This will not delete your music, but may have many other detrimental
effects. Don't turn the device off or unplug it while the firmware is updating, and don't attempt to upload new firmware with a low
battery.
AUTHORS
libifp was written by Geoff Oakham, based on ifp by Yamashiro Jun. This manual page was written for Debian by Joe Wreschnig
<piman@debian.org>, but may be used by others.
May 30th, 2004 IFP(1)