Sponsored Content
Top Forums UNIX for Dummies Questions & Answers find command -- listing files twice Post 302385971 by Straitsfan on Monday 11th of January 2010 01:23:07 AM
Old 01-11-2010
No need --

I didn't notice that I had moved a later copy of that subdirectory from my flash drive (which I needed since I was travelling) into the original subdirectory, making it a subdirectory of the subdirectory, containing copies of all the original files on my hard drive. All I needed to do then was move the files I created on the flash drive to my hard drive, then a simple srm to remove the copied folder and files.

I. am. such. an. idiot. DOH! :-)

But, just out of curiosity, what do you mean by switch?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find files older than 5 days and remove tem after listing

need help with this ... Find files older than 5 days and remove tem after listing list "test" file older than 5 days and then remove them (1 Reply)
Discussion started by: ypatel6871
1 Replies

2. Solaris

TAR command , listing backed up files

I've backed up several files to tape using tar, and wish to list those that have backed up. % tar cvf /dev/rmt/2un /s_1/oradata/pgpub/config.ora a /s_1/oradata/pgpub/config.ora 2 tape blocks But when I go to list the files: % tar tvf /dev/rmt/2un tar: tape read error What am I... (3 Replies)
Discussion started by: FredSmith
3 Replies

3. UNIX for Dummies Questions & Answers

ls command for listing the number of files

I've searched the man page for an option for the ls command to print the number of files in a directory. I'm moving files and folders around and thought a count of files would be a quick way to determine if I was missed one somewhere. Some "unix's" shells do this I think... maybe linux... ... (4 Replies)
Discussion started by: jimmyc
4 Replies

4. Shell Programming and Scripting

find command nonrecurslu listing ls -lrt

---------------------------------------------------------------------- I have tried find . type -f -exec ls -lrt {} \; but it listed files recursively ,I need only that dir files not internal dir file. --------------------------------------------------------------------- (8 Replies)
Discussion started by: RahulJoshi
8 Replies

5. UNIX for Dummies Questions & Answers

Long listing of files using find command on remote server via SSH

Hi , I am trying to find some files on a remote machine using the find command. >ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt /home/atukuri/abc.txt The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies

6. Shell Programming and Scripting

find command listing

Hello, I have been trying to understand how the 'find' command lists the search results. I have a list of songs in different file formats (mp3, wav, aac etc) in a huge directory hierarchy organized by genre and am trying to get the list of all songs of a particular format. I found ls -R... (9 Replies)
Discussion started by: ajayram
9 Replies

7. Solaris

SFTP Command Help - listing files

Ok I am just going to explain what I am running step by step sftp user@hostname sftp > ls < when I run the command "ls" I get a long listing the old version, on the new version I get a short listing how can I change my new version to give me long listing by default (1 Reply)
Discussion started by: slufoot80
1 Replies

8. UNIX for Dummies Questions & Answers

Unix Command for listing files containing one text but not other.

Hi, I want to list all files present in directory those contains one specific word but exclude other. If possible suggest unix commands instead of script to do so. e.g. List all files name from directory which are having "PROMOTION" word but not "LEN_PROMOTION". Thanks (4 Replies)
Discussion started by: gauravgautam135
4 Replies

9. UNIX for Dummies Questions & Answers

Listing only the files under a directory from the result of find command

Hi, I have a main folder 'home'. Lets say there is a folder 'bin' under 'home'. I want to check the list of files under subdirectories present under the /bin directory created in the last 24 hours. I am using the following find command under home/bin directory: find . -mtime -1 -print ... (3 Replies)
Discussion started by: DJose
3 Replies

10. AIX

Getting files through find command and listing file modification time upto seconds

I have to list the files of particular directory using file filter like find -name abc* something and if multiple file exist I also want time of each file up to seconds. Currently we are getting time up to minutes in AIX is there any way I can get file last modification time up to seconds. (4 Replies)
Discussion started by: Nitesh sahu
4 Replies
SDL::Cdrom(3)						User Contributed Perl Documentation					     SDL::Cdrom(3)

NAME
SDL::Cdrom - a SDL perl extension for managing CD-ROM drives SYNOPSIS
use SDL::Cdrom; $cdrom = SDL::Cdrom->new(0); $cdrom->play(); EXPORTS
o "CD_NUM_DRIVES". DESCRIPTION
Create a new SDL::Cdrom object. The passed $id is the number of the drive, whereas 0 is the first drive etc. use SDL::Cdrom; my $drive => SDL::Cdrom->new($id); METHODS
CD_NUM_DRIVES() Returns the number of CD-ROM drives present. name() Returns the system dependent name of the CD-ROM device. status() Return the status of the drive. play() Play a track. pause() Pause the playing. resume() Resume the playing. stop() Stop the playing. eject() Eject the medium in the drive. id() Return the ID of the drive. num_tracks() Return the number of tracks on the medium. track() Returns the track description current() Return the current played track number. current_frame() Return the current frame. AUTHORS
David J. Goehrig Documentation by Tels <http://bloodgate.com/>. SEE ALSO
perl SDL::Mixer SDL::App. perl v5.12.1 2010-07-05 SDL::Cdrom(3)
All times are GMT -4. The time now is 06:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy