Hi,
I currently have a script that takes a list of names and compares it with another list and appends non-duplicate names. I want to modify my script such that it will look at a list of names and for every name preceded by the tag "<delete>" (without the quotes) it checks the other list for... (12 Replies)
hi,
can somebody tell me how to compare names of files?
the situation is I have 2 files file1 and file2 and I want to figure out which file has the biggest ending, in this case file2 is.
thank you (3 Replies)
Hello
i have file A created yesterday and file B created today
thanks to help create script compare between 2 files according to size
so if file B is less than 10% of file A i should have echo message with warning
also check if file B exist or not.
this should be run in loop for list of... (6 Replies)
Hi,
Below are the 2 files in directory /tmp:
masterCSF242323.img
indexCSF242323.img
1) I want to compare if both the number (242323) are same in both the files. If they are same print - Files matching, else print files do not match.
2) Also if only index file is present in that... (7 Replies)
I am running a UNIX script to get unused files and their sizes from the server. The issue is arising due to the spaces present in the filename/folder names.Due to this the du -k command doesn't work properly.But I need to calculate the size of all files including the ones which have spaces in them.... (4 Replies)
I need to compare two files (oldfile1 & newfile). Need to ignore the values which are present in both files. At the same time, i need to get only records in new file.
Tried using Join -v1 -v2 oldfile1 newfile (suspect it has not worked as expected).
could anyone of you please help me here. (5 Replies)
I have 2 files each containing a list of same fedora packages but with different version number. I want to compare the 2 files and remove the lines containing a newer or older version number (1 Reply)
Hi, I'm currently trying to print the names of all the .txt files in the subdirectories that contain the string I'm searching.
I tried with this code, but it seems that it searches for the names that matches the string instead of searching for the string in the individual files and printing the... (2 Replies)
Hi,
I have a requirement to compare files in different directories with different names. The files have a datestamp in their name (It might not be a sequential datetimestamp).
This is for Redhat Linux. I have more than 5 directories and more than 10 file in each directory to be compared.
... (4 Replies)
Discussion started by: GosarJunk
4 Replies
LEARN ABOUT PHP
ifp
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)