So am at my home folder and I want to delete an unempty folder without changing directories.....what command line do I use for that
find /ahome/xxx/$FOLDER -type d -mtime +25 -exec ls -ld {} \; -exec rm -rf {} \; >> mylogfile.log
find: /ahome/prksh/dir/test: No such file or directory
find $FOLDER_PATH/$FOLDER -depth -regex ^$FOLDER_PATH/$FOLDER/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ -type d -mtime +25 -exec ls -ld {} \; >> /tmp/deleted_folders.log
sudo cp -r *.* /<dest folder owned by root>
info coreutils 'cp invocation'
local_enable=YES chroot_local_users=YES
Match user alankoh X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp ChrootDirectory /home/%u