Hello! I'm kind of stuck here. See, I wanted to move individual script files into the GIMP scripts folder. At first, I wasn't able to, it was giving me an access denied type of thing. I surfed around and found something to input into the terminal to allow me to move the folder the scripts were in into the GIMP scripts folder.
Hi All,
I want to move the files in to different folders based on the files month in the file timestamp.
For example
All the september files in the directory should moves into the folder "sep_bkp_files" , August files in to aug_bkp_files folder...
Please help me to achive the above issue. I am using solaris OS.
Thanks,
Velava
I'm having two separate directories. The user loads a file into the first. Theres a cronjob running in the background which copies the files every 5 minutes over to the second directory.
What happens if the user has not completed his upload and the cronjob copies the files? Note that the two directories are owned by different users, the cronjob is performed as root.
Hi all,
Hoping someone can help.
I'm looking to be able to search a particular folder path for folders that contain certain files / formats and then move the parent folder.
eg.
/foo/bar/folder1/file.exe
/foo/bar/folder2/file.exe
and then move the folder1/2 tp another folder.
Is there any alternative to Magic Folder for ubuntu? Or can we make a folder which will allow us to easily categorize and move files. When we drag a file to the folder it will look at the file extension and place Document files (like doc, xls, ppt, etc) in the Document folder.
Hi, I setup a cronjob in my server but it does not worked, in fact, the result file was not created so i assume the cronjob was not triggered, so my question is:
is there any log file or someelse that I check what is the problem with my cronjob?
regards
I don't want to install email software in my server so I'm trying to create a cronjob that sends output to /dev/null, and errors to a log file.
I was wanting to know the best or preferred way to move files from one computer to a networked hot folder. I have looked at mv and cd but all the references discuss using it locally. I would need to add this to some already existing scripts. Also, upon reading I did see SSH File Transfer Protocol and SFTP but everything pointed to a manual process.
I have created a cron job that runs a script which moves files from one location to another.
Here is my result after running crontab -l
0 6 * * 0 root /root/scripts/move.script.sh
move.script.sh has following lines of codes:
#!/bin/sh
/bin/rm -rf /home/user1/folder2/Monday/*
/bin/mv /home/user1/folder1/* /home/user1/folder2/Monday/
With this code, I first remove the stuff from last week