Question by ? Basset Baby? ? ? ?: is grind machine a good YoYo?
i ordered it few days ago. im not a beginer, but not a pro.i know trapeze and those similar tricks.i also know a few offstring tricks.
i really wanted this yoyo and its coming in few days time.
if im not mistaken, the yoyo does need bind?
anyway, what do u think.
so when i use rm file -i vv bb i can delete the first file vv but i cant seem to delete the second file bb as i tried to use shift on it, but it seems that it delete the first one and stops it without looping it to the next file. what is wrong with my coding ?
I have small Linux server (Debian Squeeze) which runs a Samba server which is configured to share some folders with some windows machines.
Hey guys,
I am looking for simple shell script, so i can remove every second file in a directory.
For example in any given directory there are 10.000 files:
0001.jpg
0002.jpg
0003.jpg
0004.jpg
0005.jpg
0006.jpg
0007.jpg
0008.jpg
....
1111.jpg
1112.jpg
etc.
After running the command, it will delete every second file in the directory.
1. The problem statement, all variables and given/known data:
It seems like it doesn't go into the current directory.
eg: /path/cse/lab3/remove
I don't know how to get into the 'remove' directory. I'm trying to delete all the files in the 'remove' directory. Then remove the 'remove' directory using rmdir.
Right now, it seems to be deleting all my files in 'lab3'.
2.
I've been using this line to remove spaces from file names in Linux.
Usually Windows users like to add spaces in the file names, I prefer dashes (-) or under scores (_) instead, they are easy to manage in the console.
I've found this command a long time ago in a forum, and still have it on my personal notes.
Here posted for everybody:
for file in *; do mv "$file" `echo $file | sed -e 's/ */_/g'
I have a file on my computer which was called just one.flv , I deleted this file but the problem here is that the icon of the file still appeared and when I try to do any operation on it from terminal , this message appeared No Such file or directory.
Now I can't do any operation on it. I can't copy or rename or cut or delete.
I tried:
rm -f 'just one.flv'
to force delete.
Any help?
This script should remove the contents of the dustbin directory.
If the -a option is used the script should remove all files from the dustbin.
Otherwise, the script should display the filenames in the dustbin one by one and ask the user for confirmation that they should be deleted.
if test !
I thought the flags I mentioned in the question are the same, but I get the following message with the former, but nothing with the latter:
$ find .