Say I have a directory call test, and several directories nested in it, and several directories nested in them. And I want to remove all directories within "test" and its subdirectories that have the name "cvs", how can I do this?
I tried rm -r cvs, but that only removed the top level direcotry... (4 Replies)
How do I delete just the symbolic links in a directory? I have files that I wish to keep that have similar names, length and date/time. Can I use file size?
Thanks
kyle (4 Replies)
hi
This should be easy but i'm obviously missing something obvious. :)
I'm looking to delete files from yesterday and older of extension .txt and there a range of subfolders with these files in them. The command runs but doesn't delete anything. SUSE 10.
find /testfolder -maxdepth 2 -type f... (6 Replies)
Can anyone see why the following command returns all files and not just the directories as specified?
find . -type d -exec ls -F {} \;
Also tried
find . -type d -name "*" -exec ls -F {} \;
find . -type d -name "*" -exec ls -F '{}' \; -print
Always returns all files :-\
OS is... (2 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
/tmp
a.log
b.log
c.log
/abcd
d.log
e.log
When I tried the following command , it movies all the log files... (8 Replies)
Hi
Can someone assist in writing a script.
I have a filesystem named /sybase in my aix lpar.
When this filesystem becomes 94% full all the files and directories under /sybase/logs should be deleted immediately. :confused: (7 Replies)
I have directory path in which there are several sub directories. In all these sub dir there will be one env.cnf file. I want to copy this env.cnf file from
each sub dir's and place them in destination path by creating same filename as sub dir_env.cnf.
After copying env.cnf files from source... (4 Replies)
i have directory dgf
in the dgf( some other Sub-dir are there)
00 01 02 03 04
in all the Sub directory there is a SG.csv ..
i want the scripts should run one by one Sub-dir and print the result for that particular Sub-dir ..then go to next Sub-Dir and print the result.......
please... (6 Replies)
Hello,
I supposed that it was working fine but now I see that it's not working as expected.
I am running under ubuntu14.04, trusty.
My plan was to search folderA and all subdirectories and move any txt file to destination folder, folderB :
find /home/user/folderA/ -type f -iname "*.txt"... (0 Replies)
Discussion started by: baris35
0 Replies
LEARN ABOUT DEBIAN
ample
AMPLE(1) User Manual AMPLE(1)NAME
ample - Ample MP3 server
SYNOPSIS
ample [OPTION] [PATH...]
DESCRIPTION
ample Ample is an MP3 server that allows you to listen to your music that can be stored locally or remotely. It does not intend to support
mixing, radio shows etc. It's just an easy way to listen to your MP3's everywhere using the "open location" features already present in
XMMS, WinAmp and Media Player. After installing, configuring and starting ample, try connecting to http://server:1234/ with the "open
location" feature of your favourite MP3 player or http://server:1234/index.html with your favourite web browser.
OPTIONS -p NUM --port=NUM
Listen to TCP port NUM, default is 1234.
-o --order
When a list of files is requested, play them in alphabetical order.
-c NUM --clients=NUM
Allow a maximum of NUM clients to be connected at the same time.
-n --norecursive
Don't automatically index files in subdirs of the directories being indexed
-f FILE --conffile=FILE
Use FILE as config file instead of the default /etc/ample/ample.conf. See ample.conf(5) for details.
-m FILE --htmlfile=FILE
Use FILE as HTML template instead of the default /etc/ample/ample.html. See ample.html(5) for details.
-h --help
Display help message and exit.
-d [NUM] --debug[=NUM]
Print debug messages, a higher value of NUM means more detail.
-t --trace
Disables forking and backgrounding, useful for debugging.
-v --version
Display version information and exit.
-i --pidfile [PIDFILE]
Write a PIDFILE to handle ample as a daemon
[PATH...]
These are path(s) to files or directories that Ample can use to populate it's list of MP3's. If PATH is a directory, all files (pos-
sibly recursively, see the -n option above) will be added. If PATH is a regular file ending with .mp3 it will be added and if it is
a regular file ending with .m3u (MP3 playlist) the files listed in it will be added.
FILES
/etc/ample/ample.conf
The default config file (another file may be used, see the -f option above). See ample.conf(5) for further details.
/etc/ample/ample.html
The default HTML template file (another file may be used, see the -m option above). See ample.html(5) for further details.
BUGS
Of course totally bugfree or your money back :-)
AUTHOR
David Hardeman <david@2gen.com>
SEE ALSO ample.conf(5), ample.html(5)Ample JANUARY 2002 AMPLE(1)